<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>V-model 指令</title>
</head>
<body>
  <div id="app">
    <input type="text" v-bind:value="msg">
    <h4 v-text="msg"></h4>
    <input type="text" v-model="msg" style="width:100%;">
  </div>

  <!-- <input type="text" name="" id="" value="TOM and Jack"> -->

</body>
<script src="./src/vue.js"></script>
<script>
  const vm = new Vue({
    el: '#app',
    data: {
      msg: '大家都是好学生，爱敲代码，爱学习，简直就是完美!!!'
    }
  });
</script>
</html>